import {get, post, del, put} from "@/apis/http/request";
import {SysAdminProxyUpgrade} from "@/apis/model/proxy/SysAdminProxyUpgradeModel";

/**
* 得到列表
* @param params
*/
export const getSysAdminProxyUpgradeList = (params: any) => get("/sysAdminProxyUpgrade/list", params)

/**
* 得到分页列表
* @param params
*/
export const sysAdminProxyUpgradePage = (params: any) => post("/sysAdminProxyUpgrade/page", params)

/**
* 删除数据
* @param id
* @returns
*/
export const deleteSysAdminProxyUpgradeById = (id: number) => del("/sysAdminProxyUpgrade/delete/"+ id)

/**
* 新增数据
* @param param
*/
export const insertSysAdminProxyUpgrade = (param: SysAdminProxyUpgrade) => post("/sysAdminProxyUpgrade", param)

/**
* 更新数据
* @param param
*/
export const updateSysAdminProxyUpgrade = (param: SysAdminProxyUpgrade) => put("/sysAdminProxyUpgrade", param)